package top.jandmla.shop.controller.admin;

import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.IncorrectCredentialsException;
import org.apache.shiro.authc.UnknownAccountException;
import org.apache.shiro.authc.UsernamePasswordToken;
import org.apache.shiro.subject.Subject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import top.jandmla.shop.bean.User;
import top.jandmla.shop.service.UserService;
import top.jandmla.shop.utils.result.BaseResult;

/**
 * <p>
 *
 * </p>
 */
@RestController
@RequestMapping("admin/user/")
public class UserController {

    @Autowired
    private UserService service;

    @PostMapping("test")
    public String test(){
        return "user test is ok!";
    }


}
